package com.zzptc.syl.traffic;

import androidx.appcompat.app.AppCompatActivity;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class Network extends AppCompatActivity {
Button btncancel;
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_network);
        initview();
        event();
    }

    private void event() {
        btncancel.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View view) {
                Intent intent=new Intent(Network.this,Login.class);
                startActivity(intent);
            }
        });
    }

    private void initview() {
        btncancel=findViewById(R.id.btn_cancel);
    }
}